package com.volcreate.week1;

import java.util.ArrayList;
import java.util.Scanner;

/**
 *
 1     1
 2   3
 -100 100
 -100   -100
 10   0

 * @author zxc
 * @date 2020/9/20
 */
public class Main5 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        ArrayList<Integer> list = new ArrayList<>();
        while (scanner.hasNextLine()){
            String s = scanner.nextLine().trim();
            if (s.equals("")) break;
            String[] split = s.split("\\s+");
            int i = Integer.parseInt(split[0]) + Integer.parseInt(split[1]);
            list.add(i);
        }
        list.forEach(System.out::println);
        scanner.close();
    }
}
